package net.zjitc.mapper;

import net.zjitc.pojo.Category;

import java.util.List;

public interface CategoryMapper {
    List<Category> findAll();

    void insertShop(Category category);

    int delete(Integer id);

    Category findById(Integer id);

    List<Category> findPid();

    void update(Category category);

    List<Category> findByName(String name);
}
